//初始化echarts实例
var ec_c2 = echarts.init(document.getElementById("c2"), "dark");
var option_c2 = {
		title: {
			text: '',
			subtext: '',
			x: 'left'
		},
		tooltip: {
			trigger: 'item'
		},
		//左侧小导航图标
		visualMap: {
			show: true,
			x: 'left',
			y: 'bottom',
			textStyle: {
				fontSize: 16
			},
			splitList: [
				{start: 1, end: 9},
				{start: 10, end: 99},
				{start: 100, end: 999},
				{start: 1000, end: 9999},
				{start: 10000}
			],
			color: ['#8A3310','#C64918', '#E55B25','#F2AD92', '#F9DCD1']
		},

		//配置属性
		series: [{
			name: '累积确诊人数',
			type: 'map',
			mapType: 'china',
			roam: false,  //是否允许拖动和缩放
			itemStyle: {
				normal: {
					borderWidth: 0.5,  //区域边框宽度
					borderColor: '#009fe8',  //区域边框颜色
					areaColor: '#ffefd5',  //区域颜色
				},
				//鼠标滑过地图高亮的相关设置
				emphasis: {
					borderWidth: 0.5,
					borderColor: '#4b0082',
					areaColor: '#fff'
				}
			},
			label: {
				normal: {
					show: true, //省份名称
					fontSize: 12
				},
				emphasis: {
					show: true,
					fontSize: 12
				}
			},
			data: []
		}]
	};